package cn.supermaster.management.web.initializer;

import cn.supermaster.management.SMManagementApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: supermaster-management
 * @Package: cn.supermaster.management
 * @ClassName: SMManagementServletInitializer
 * @Description: [web容器中进行部署]
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2021/1/9 13:39
 * @Version: V1.0
 * @Copyright: 2021 www.super-bytecode.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public class  SMManagementServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(SMManagementApplication.class);
    }
}
